package com.liqi.display.service;

import com.liqi.display.entity.returnType.TopEightTask;
import com.liqi.display.entity.UpProAccept;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liqi
 * @since 2021-04-12
 */
public interface IUpProAcceptService extends IService<UpProAccept> {

    List<UpProAccept> selectAll();

    int total(Date day);

    List<TopEightTask> topEightTask(Date date);

    long getList(Date date);

    Map<String,Integer> lateThirty();

    Map<String,Integer> totalAcceptType();

    Map<String, String> totalBidType();

    Map<String,Integer> specilAcceptTotal();

    int totalRegionNums(Date date,String regionCode);

    Map<String,Integer> areaApplyTotal();
    
    Map<String, Integer> windowBusinessTopNum();
    
    /**
     * 获取平均受理时间
     * @param date
     * @return
     */
    double getAccessTime(Date date);
}
